<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
                                <title>Sokul</title> 
                            <meta name="description" content="Mạng xã hội mua bán | Longnt - Mạng xã hội thương mại" />
<meta name="keywords" content="mạng xã hôi mua bán, mang xa hoi mua ban, mạng xã hội mua sắm, mang xa hoi mua sam, mạng xã hội, mang xa hoi, mxh, sieu thi, e-muaban" />
        <meta property="og:title" content="Mạng xã hội Mua bán" />
        <meta property="og:type" content="website" />
        <meta property="og:url" content="<?php echo $this->config->item('base_url'); ?>" />
		
        <meta property="og:image" content="<?php echo $this->config->item('base_url').$this->config->item('template'); ?>images/logo.jpg" />
        <meta property="og:site_name" content="Mạng xã hội Mua bán" />
        <meta property="fb:admins" content="100001740755845" />
        <link rel="icon" href="<?php echo $this->config->item('base_url').$this->config->item('template'); ?>images/st_icon_32.png" sizes="32x32" />
        <link href="<?php echo $this->config->item('base_url').$this->config->item('template'); ?>styles/st.v30.css" media="screen" rel="stylesheet" type="text/css" />
        <link href="<?php echo $this->config->item('base_url').$this->config->item('template'); ?>styles/style.css" media="screen" rel="stylesheet" type="text/css" />
        <link href="<?php echo $this->config->item('base_url').$this->config->item('template'); ?>styles/jquery.tabs.css" media="screen" rel="stylesheet" type="text/css" />
        <link href="<?php echo $this->config->item('base_url').$this->config->item('template'); ?>styles/paging.css" media="screen" rel="stylesheet" type="text/css" />
        
        <script type="text/javascript" src="<?php echo $this->config->item('base_url').$this->config->item('template'); ?>scripts/slide/jquery-1.4.3.min.js"></script>
        <script type="text/javascript" src="<?php echo $this->config->item('base_url').$this->config->item('template'); ?>scripts/slide/jquery.livequery.min.js"></script>

        <script type="text/javascript" src="<?php echo $this->config->item('base_url').$this->config->item('template'); ?>scripts/slide/st.3.0.js"></script>
        <script type="text/javascript" src="<?php echo $this->config->item('base_url').$this->config->item('template'); ?>scripts/slide/jquery.tabs.pack.js"></script>
        
        <script type="text/javascript">
            var optionSearch = 0;
            function search(option){
                if (option == 0){
                    optionSearch = 0;
                    $('#timmua-c').css("display", "block");
                    $('#timban-c').css("display", "none");
                    $('#timmua').addClass("search-adtive");
                    $('#timban').removeClass("search-adtive");
                } else {
                    optionSearch = 1;
                    $('#timmua-c').css("display", "none");
                    $('#timban-c').css("display", "block");
                    $('#timban').addClass("search-adtive");
                    $('#timmua').removeClass("search-adtive");
                }
            }
            function searchHeader(){
                if (optionSearch == 0){
                    sTxt = $('#search_sell').val();
                    if (sTxt == 'Nhập từ khóa bạn cần tìm'){
                        return false;
                    }
                    sTxt = sTxt.replace(/ /g, ' ');
                    sTxt = sTxt.replace('+', '');
                    sTxt = sTxt.replace('$', '');
                    sTxt = sTxt.replace('!', '');
                    sTxt = sTxt.replace('%', '');
                    sTxt = sTxt.replace('&', '');
                    sTxt = sTxt.replace('=', '');
                    sTxt = sTxt.replace('@', '');
                    sTxt = sTxt.replace('*', '');
                    sTxt = sTxt.replace('~', '');
                    sTxt = sTxt.replace(')', '');
                    sTxt = sTxt.replace('(', '');
                    sTxt = sTxt.replace(';', '');
                    window.location = '<?php echo $this->config->item('base_url'); ?>index.php/search/index/' + sTxt + '/1';
                    return false;
                }
                else
                {
                	sTxt = $('#search_buy').val();
                    if (sTxt == 'Bạn muốn bán sản phẩm gì?'){
                        return false;
                    }
                    sTxt = sTxt.replace(/ /g, ' ');
                    sTxt = sTxt.replace('+', '');
                    sTxt = sTxt.replace('$', '');
                    sTxt = sTxt.replace('!', '');
                    sTxt = sTxt.replace('%', '');
                    sTxt = sTxt.replace('&', '');
                    sTxt = sTxt.replace('=', '');
                    sTxt = sTxt.replace('@', '');
                    sTxt = sTxt.replace('*', '');
                    sTxt = sTxt.replace('~', '');
                    sTxt = sTxt.replace(')', '');
                    sTxt = sTxt.replace('(', '');
                    sTxt = sTxt.replace(';', '');
                    window.location = '<?php echo $this->config->item('base_url'); ?>index.php/search/content/' + sTxt + '/1';
                    return false;
                }
            }
        </script>
    </head>
    <body>
        <div id="mainpage">
            <div class="top f-w100">
                <ul class="fll">
                    <li><a href="<?php echo $this->config->item('base_url'); ?>" target="_blank">Trang chủ</a></li>
                    <li>|</li>
                    <li><a href="<?php echo $this->config->item('base_url'); ?>"><strong>Mua bán</strong></a></li>
                    <li>|</li>
                    <li><a href="<?php echo $this->config->item('base_url'); ?>" target="_blank">Nhà đất</a></li>

                    <li>|</li>
                    <li><a href="<?php echo $this->config->item('base_url'); ?>" target="_blank">Thuê</a></li>
                </ul>
                <ul class="flr">
                	<?php if(!isset($_SESSION['custkey'])):?>
                    <li>
                    	<a href="<?php echo $this->config->item('base_url'); ?>index.php/login">Đăng nhập [ Đăng ký ]</a>
                    </li>
					<?php else:?>
					<li>
                    	<?php echo "Xin chào:<font color=red><b>".$customername."</b></font>"; ?>
                    </li>
					<li>|</li>
					<li>
						<a href="<?php echo $this->config->item('base_url'); ?>index.php/login/logout" >Thoát</a>
					</li>
                   	<?php endif;?>
					<li>|</li>
                    <li class="trogiup"><a href="<?php echo $this->config->item('base_url'); ?>help" target="_blank">Trợ giúp</a>
                        <div class="support">
                            <h3><span>&nbsp;&nbsp;&nbsp;Hỗ trợ trực tuyến</span></h3>
                            <div class="support-d cll">
                                <p class="support-p">&nbsp;Điện thoại hỗ trợ:<strong>(04)xx xxx xxx</strong> - (Ext <strong>102</strong>)</p>

                                <p class="support-p">&nbsp;Email hỗ trợ: <strong>admin@sodala.co</strong> (<a href="<?php echo $this->config->item('base_url'); ?>index.php/contact" target="_blank"class="txt-blue">Gửi liên hệ</a>)</p>
                            </div>
                            <div class="support-d cll">
                                <ul>
                                    <li><a href="ymsgr:sendIM?my_love9558&amp;=Chao+ban%2C+toi+muon+hoi+"><img src="<?php echo $this->config->item('base_url').$this->config->item('template'); ?>images/yahoo.gif" alt="Nhân viên kinh doanh" />&nbsp;&nbsp;Nhân viên kinh doanh</a></li>

                                    <li><a href="ymsgr:sendIM?my_love9558&amp;=Chao+ban%2C+toi+muon+hoi+"><img src="<?php echo $this->config->item('base_url').$this->config->item('template'); ?>images/yahoo.gif" alt="Hỗ trợ chung" />&nbsp;&nbsp;Hỗ trợ chung</a></li>
                                    <li><a href="ymsgr:sendIM?my_love9558&amp;=Chao+ban%2C+toi+muon+hoi+"><img src="<?php echo $this->config->item('base_url').$this->config->item('template'); ?>images/yahoo.gif" alt="Nhân viên kinh doanh" />&nbsp;&nbsp;Nhân viên kinh doanh</a></li>                                    
                                    <li><a href="ymsgr:sendIM?my_love9558&amp;=Chao+ban%2C+toi+muon+hoi+"><img src="<?php echo $this->config->item('base_url').$this->config->item('template'); ?>images/yahoo.gif" alt="Liên hệ quảng cáo" />&nbsp;&nbsp;Liên hệ quảng cáo</a></li>
                                    <li><a href="ymsgr:sendIM?konichiwa270986&amp;=Chao+ban%2C+toi+muon+hoi+"><img src="<?php echo $this->config->item('base_url').$this->config->item('template'); ?>images/yahoo.gif" alt="Hỗ trợ kĩ thuật" />&nbsp;&nbsp;Hỗ trợ kĩ thuật</a></li>
                                    <li><a href="ymsgr:sendIM?phoenix_taiwan&amp;=Chao+ban%2C+toi+muon+hoi+"><img src="<?php echo $this->config->item('base_url').$this->config->item('template'); ?>images/yahoo.gif" alt="Hỗ trợ kĩ thuật" />&nbsp;&nbsp;Hỗ trợ kĩ thuật</a></li>
                                </ul>
                            </div>

                            <div class="cll" align="right"><a href="<?php echo $this->config->item('base_url'); ?>index.php/help" target="_blank" class="xem-all">Xem toàn bộ trợ giúp</a></div>
                        </div>
                        <!--END support-->
                    </li>
                </ul>
            </div>
            